package cn.ht.jywrwater.module.ht.convert.watersurvey;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.watersurvey.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.watersurvey.WaterSurveyDO;

/**
 * 运行监测概览 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterSurveyConvert {

    WaterSurveyConvert INSTANCE = Mappers.getMapper(WaterSurveyConvert.class);

    WaterSurveyDO convert(WaterSurveyCreateReqVO bean);

    WaterSurveyDO convert(WaterSurveyUpdateReqVO bean);

    WaterSurveyRespVO convert(WaterSurveyDO bean);

    List<WaterSurveyRespVO> convertList(List<WaterSurveyDO> list);

    PageResult<WaterSurveyRespVO> convertPage(PageResult<WaterSurveyDO> page);

    List<WaterSurveyExcelVO> convertList02(List<WaterSurveyDO> list);

}
